package org.hxyjs.entity;

import java.util.ArrayList;
import java.util.List;

public class PressExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public PressExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andPrnoIsNull() {
            addCriterion("prno is null");
            return (Criteria) this;
        }

        public Criteria andPrnoIsNotNull() {
            addCriterion("prno is not null");
            return (Criteria) this;
        }

        public Criteria andPrnoEqualTo(String value) {
            addCriterion("prno =", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoNotEqualTo(String value) {
            addCriterion("prno <>", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoGreaterThan(String value) {
            addCriterion("prno >", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoGreaterThanOrEqualTo(String value) {
            addCriterion("prno >=", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoLessThan(String value) {
            addCriterion("prno <", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoLessThanOrEqualTo(String value) {
            addCriterion("prno <=", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoLike(String value) {
            addCriterion("prno like", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoNotLike(String value) {
            addCriterion("prno not like", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoIn(List<String> values) {
            addCriterion("prno in", values, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoNotIn(List<String> values) {
            addCriterion("prno not in", values, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoBetween(String value1, String value2) {
            addCriterion("prno between", value1, value2, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoNotBetween(String value1, String value2) {
            addCriterion("prno not between", value1, value2, "prno");
            return (Criteria) this;
        }

        public Criteria andAnoIsNull() {
            addCriterion("ano is null");
            return (Criteria) this;
        }

        public Criteria andAnoIsNotNull() {
            addCriterion("ano is not null");
            return (Criteria) this;
        }

        public Criteria andAnoEqualTo(String value) {
            addCriterion("ano =", value, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoNotEqualTo(String value) {
            addCriterion("ano <>", value, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoGreaterThan(String value) {
            addCriterion("ano >", value, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoGreaterThanOrEqualTo(String value) {
            addCriterion("ano >=", value, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoLessThan(String value) {
            addCriterion("ano <", value, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoLessThanOrEqualTo(String value) {
            addCriterion("ano <=", value, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoLike(String value) {
            addCriterion("ano like", value, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoNotLike(String value) {
            addCriterion("ano not like", value, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoIn(List<String> values) {
            addCriterion("ano in", values, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoNotIn(List<String> values) {
            addCriterion("ano not in", values, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoBetween(String value1, String value2) {
            addCriterion("ano between", value1, value2, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoNotBetween(String value1, String value2) {
            addCriterion("ano not between", value1, value2, "ano");
            return (Criteria) this;
        }

        public Criteria andPrimgIsNull() {
            addCriterion("prImg is null");
            return (Criteria) this;
        }

        public Criteria andPrimgIsNotNull() {
            addCriterion("prImg is not null");
            return (Criteria) this;
        }

        public Criteria andPrimgEqualTo(String value) {
            addCriterion("prImg =", value, "primg");
            return (Criteria) this;
        }

        public Criteria andPrimgNotEqualTo(String value) {
            addCriterion("prImg <>", value, "primg");
            return (Criteria) this;
        }

        public Criteria andPrimgGreaterThan(String value) {
            addCriterion("prImg >", value, "primg");
            return (Criteria) this;
        }

        public Criteria andPrimgGreaterThanOrEqualTo(String value) {
            addCriterion("prImg >=", value, "primg");
            return (Criteria) this;
        }

        public Criteria andPrimgLessThan(String value) {
            addCriterion("prImg <", value, "primg");
            return (Criteria) this;
        }

        public Criteria andPrimgLessThanOrEqualTo(String value) {
            addCriterion("prImg <=", value, "primg");
            return (Criteria) this;
        }

        public Criteria andPrimgLike(String value) {
            addCriterion("prImg like", value, "primg");
            return (Criteria) this;
        }

        public Criteria andPrimgNotLike(String value) {
            addCriterion("prImg not like", value, "primg");
            return (Criteria) this;
        }

        public Criteria andPrimgIn(List<String> values) {
            addCriterion("prImg in", values, "primg");
            return (Criteria) this;
        }

        public Criteria andPrimgNotIn(List<String> values) {
            addCriterion("prImg not in", values, "primg");
            return (Criteria) this;
        }

        public Criteria andPrimgBetween(String value1, String value2) {
            addCriterion("prImg between", value1, value2, "primg");
            return (Criteria) this;
        }

        public Criteria andPrimgNotBetween(String value1, String value2) {
            addCriterion("prImg not between", value1, value2, "primg");
            return (Criteria) this;
        }

        public Criteria andPrnameIsNull() {
            addCriterion("prName is null");
            return (Criteria) this;
        }

        public Criteria andPrnameIsNotNull() {
            addCriterion("prName is not null");
            return (Criteria) this;
        }

        public Criteria andPrnameEqualTo(String value) {
            addCriterion("prName =", value, "prname");
            return (Criteria) this;
        }

        public Criteria andPrnameNotEqualTo(String value) {
            addCriterion("prName <>", value, "prname");
            return (Criteria) this;
        }

        public Criteria andPrnameGreaterThan(String value) {
            addCriterion("prName >", value, "prname");
            return (Criteria) this;
        }

        public Criteria andPrnameGreaterThanOrEqualTo(String value) {
            addCriterion("prName >=", value, "prname");
            return (Criteria) this;
        }

        public Criteria andPrnameLessThan(String value) {
            addCriterion("prName <", value, "prname");
            return (Criteria) this;
        }

        public Criteria andPrnameLessThanOrEqualTo(String value) {
            addCriterion("prName <=", value, "prname");
            return (Criteria) this;
        }

        public Criteria andPrnameLike(String value) {
            addCriterion("prName like", value, "prname");
            return (Criteria) this;
        }

        public Criteria andPrnameNotLike(String value) {
            addCriterion("prName not like", value, "prname");
            return (Criteria) this;
        }

        public Criteria andPrnameIn(List<String> values) {
            addCriterion("prName in", values, "prname");
            return (Criteria) this;
        }

        public Criteria andPrnameNotIn(List<String> values) {
            addCriterion("prName not in", values, "prname");
            return (Criteria) this;
        }

        public Criteria andPrnameBetween(String value1, String value2) {
            addCriterion("prName between", value1, value2, "prname");
            return (Criteria) this;
        }

        public Criteria andPrnameNotBetween(String value1, String value2) {
            addCriterion("prName not between", value1, value2, "prname");
            return (Criteria) this;
        }

        public Criteria andPrsiteIsNull() {
            addCriterion("prSite is null");
            return (Criteria) this;
        }

        public Criteria andPrsiteIsNotNull() {
            addCriterion("prSite is not null");
            return (Criteria) this;
        }

        public Criteria andPrsiteEqualTo(String value) {
            addCriterion("prSite =", value, "prsite");
            return (Criteria) this;
        }

        public Criteria andPrsiteNotEqualTo(String value) {
            addCriterion("prSite <>", value, "prsite");
            return (Criteria) this;
        }

        public Criteria andPrsiteGreaterThan(String value) {
            addCriterion("prSite >", value, "prsite");
            return (Criteria) this;
        }

        public Criteria andPrsiteGreaterThanOrEqualTo(String value) {
            addCriterion("prSite >=", value, "prsite");
            return (Criteria) this;
        }

        public Criteria andPrsiteLessThan(String value) {
            addCriterion("prSite <", value, "prsite");
            return (Criteria) this;
        }

        public Criteria andPrsiteLessThanOrEqualTo(String value) {
            addCriterion("prSite <=", value, "prsite");
            return (Criteria) this;
        }

        public Criteria andPrsiteLike(String value) {
            addCriterion("prSite like", value, "prsite");
            return (Criteria) this;
        }

        public Criteria andPrsiteNotLike(String value) {
            addCriterion("prSite not like", value, "prsite");
            return (Criteria) this;
        }

        public Criteria andPrsiteIn(List<String> values) {
            addCriterion("prSite in", values, "prsite");
            return (Criteria) this;
        }

        public Criteria andPrsiteNotIn(List<String> values) {
            addCriterion("prSite not in", values, "prsite");
            return (Criteria) this;
        }

        public Criteria andPrsiteBetween(String value1, String value2) {
            addCriterion("prSite between", value1, value2, "prsite");
            return (Criteria) this;
        }

        public Criteria andPrsiteNotBetween(String value1, String value2) {
            addCriterion("prSite not between", value1, value2, "prsite");
            return (Criteria) this;
        }

        public Criteria andPrphoneIsNull() {
            addCriterion("prPhone is null");
            return (Criteria) this;
        }

        public Criteria andPrphoneIsNotNull() {
            addCriterion("prPhone is not null");
            return (Criteria) this;
        }

        public Criteria andPrphoneEqualTo(String value) {
            addCriterion("prPhone =", value, "prphone");
            return (Criteria) this;
        }

        public Criteria andPrphoneNotEqualTo(String value) {
            addCriterion("prPhone <>", value, "prphone");
            return (Criteria) this;
        }

        public Criteria andPrphoneGreaterThan(String value) {
            addCriterion("prPhone >", value, "prphone");
            return (Criteria) this;
        }

        public Criteria andPrphoneGreaterThanOrEqualTo(String value) {
            addCriterion("prPhone >=", value, "prphone");
            return (Criteria) this;
        }

        public Criteria andPrphoneLessThan(String value) {
            addCriterion("prPhone <", value, "prphone");
            return (Criteria) this;
        }

        public Criteria andPrphoneLessThanOrEqualTo(String value) {
            addCriterion("prPhone <=", value, "prphone");
            return (Criteria) this;
        }

        public Criteria andPrphoneLike(String value) {
            addCriterion("prPhone like", value, "prphone");
            return (Criteria) this;
        }

        public Criteria andPrphoneNotLike(String value) {
            addCriterion("prPhone not like", value, "prphone");
            return (Criteria) this;
        }

        public Criteria andPrphoneIn(List<String> values) {
            addCriterion("prPhone in", values, "prphone");
            return (Criteria) this;
        }

        public Criteria andPrphoneNotIn(List<String> values) {
            addCriterion("prPhone not in", values, "prphone");
            return (Criteria) this;
        }

        public Criteria andPrphoneBetween(String value1, String value2) {
            addCriterion("prPhone between", value1, value2, "prphone");
            return (Criteria) this;
        }

        public Criteria andPrphoneNotBetween(String value1, String value2) {
            addCriterion("prPhone not between", value1, value2, "prphone");
            return (Criteria) this;
        }

        public Criteria andPrnumberIsNull() {
            addCriterion("prNumber is null");
            return (Criteria) this;
        }

        public Criteria andPrnumberIsNotNull() {
            addCriterion("prNumber is not null");
            return (Criteria) this;
        }

        public Criteria andPrnumberEqualTo(String value) {
            addCriterion("prNumber =", value, "prnumber");
            return (Criteria) this;
        }

        public Criteria andPrnumberNotEqualTo(String value) {
            addCriterion("prNumber <>", value, "prnumber");
            return (Criteria) this;
        }

        public Criteria andPrnumberGreaterThan(String value) {
            addCriterion("prNumber >", value, "prnumber");
            return (Criteria) this;
        }

        public Criteria andPrnumberGreaterThanOrEqualTo(String value) {
            addCriterion("prNumber >=", value, "prnumber");
            return (Criteria) this;
        }

        public Criteria andPrnumberLessThan(String value) {
            addCriterion("prNumber <", value, "prnumber");
            return (Criteria) this;
        }

        public Criteria andPrnumberLessThanOrEqualTo(String value) {
            addCriterion("prNumber <=", value, "prnumber");
            return (Criteria) this;
        }

        public Criteria andPrnumberLike(String value) {
            addCriterion("prNumber like", value, "prnumber");
            return (Criteria) this;
        }

        public Criteria andPrnumberNotLike(String value) {
            addCriterion("prNumber not like", value, "prnumber");
            return (Criteria) this;
        }

        public Criteria andPrnumberIn(List<String> values) {
            addCriterion("prNumber in", values, "prnumber");
            return (Criteria) this;
        }

        public Criteria andPrnumberNotIn(List<String> values) {
            addCriterion("prNumber not in", values, "prnumber");
            return (Criteria) this;
        }

        public Criteria andPrnumberBetween(String value1, String value2) {
            addCriterion("prNumber between", value1, value2, "prnumber");
            return (Criteria) this;
        }

        public Criteria andPrnumberNotBetween(String value1, String value2) {
            addCriterion("prNumber not between", value1, value2, "prnumber");
            return (Criteria) this;
        }

        public Criteria andPridIsNull() {
            addCriterion("prId is null");
            return (Criteria) this;
        }

        public Criteria andPridIsNotNull() {
            addCriterion("prId is not null");
            return (Criteria) this;
        }

        public Criteria andPridEqualTo(String value) {
            addCriterion("prId =", value, "prid");
            return (Criteria) this;
        }

        public Criteria andPridNotEqualTo(String value) {
            addCriterion("prId <>", value, "prid");
            return (Criteria) this;
        }

        public Criteria andPridGreaterThan(String value) {
            addCriterion("prId >", value, "prid");
            return (Criteria) this;
        }

        public Criteria andPridGreaterThanOrEqualTo(String value) {
            addCriterion("prId >=", value, "prid");
            return (Criteria) this;
        }

        public Criteria andPridLessThan(String value) {
            addCriterion("prId <", value, "prid");
            return (Criteria) this;
        }

        public Criteria andPridLessThanOrEqualTo(String value) {
            addCriterion("prId <=", value, "prid");
            return (Criteria) this;
        }

        public Criteria andPridLike(String value) {
            addCriterion("prId like", value, "prid");
            return (Criteria) this;
        }

        public Criteria andPridNotLike(String value) {
            addCriterion("prId not like", value, "prid");
            return (Criteria) this;
        }

        public Criteria andPridIn(List<String> values) {
            addCriterion("prId in", values, "prid");
            return (Criteria) this;
        }

        public Criteria andPridNotIn(List<String> values) {
            addCriterion("prId not in", values, "prid");
            return (Criteria) this;
        }

        public Criteria andPridBetween(String value1, String value2) {
            addCriterion("prId between", value1, value2, "prid");
            return (Criteria) this;
        }

        public Criteria andPridNotBetween(String value1, String value2) {
            addCriterion("prId not between", value1, value2, "prid");
            return (Criteria) this;
        }

        public Criteria andPrpwdIsNull() {
            addCriterion("prPwd is null");
            return (Criteria) this;
        }

        public Criteria andPrpwdIsNotNull() {
            addCriterion("prPwd is not null");
            return (Criteria) this;
        }

        public Criteria andPrpwdEqualTo(String value) {
            addCriterion("prPwd =", value, "prpwd");
            return (Criteria) this;
        }

        public Criteria andPrpwdNotEqualTo(String value) {
            addCriterion("prPwd <>", value, "prpwd");
            return (Criteria) this;
        }

        public Criteria andPrpwdGreaterThan(String value) {
            addCriterion("prPwd >", value, "prpwd");
            return (Criteria) this;
        }

        public Criteria andPrpwdGreaterThanOrEqualTo(String value) {
            addCriterion("prPwd >=", value, "prpwd");
            return (Criteria) this;
        }

        public Criteria andPrpwdLessThan(String value) {
            addCriterion("prPwd <", value, "prpwd");
            return (Criteria) this;
        }

        public Criteria andPrpwdLessThanOrEqualTo(String value) {
            addCriterion("prPwd <=", value, "prpwd");
            return (Criteria) this;
        }

        public Criteria andPrpwdLike(String value) {
            addCriterion("prPwd like", value, "prpwd");
            return (Criteria) this;
        }

        public Criteria andPrpwdNotLike(String value) {
            addCriterion("prPwd not like", value, "prpwd");
            return (Criteria) this;
        }

        public Criteria andPrpwdIn(List<String> values) {
            addCriterion("prPwd in", values, "prpwd");
            return (Criteria) this;
        }

        public Criteria andPrpwdNotIn(List<String> values) {
            addCriterion("prPwd not in", values, "prpwd");
            return (Criteria) this;
        }

        public Criteria andPrpwdBetween(String value1, String value2) {
            addCriterion("prPwd between", value1, value2, "prpwd");
            return (Criteria) this;
        }

        public Criteria andPrpwdNotBetween(String value1, String value2) {
            addCriterion("prPwd not between", value1, value2, "prpwd");
            return (Criteria) this;
        }

        public Criteria andPrdescribeIsNull() {
            addCriterion("prDescribe is null");
            return (Criteria) this;
        }

        public Criteria andPrdescribeIsNotNull() {
            addCriterion("prDescribe is not null");
            return (Criteria) this;
        }

        public Criteria andPrdescribeEqualTo(String value) {
            addCriterion("prDescribe =", value, "prdescribe");
            return (Criteria) this;
        }

        public Criteria andPrdescribeNotEqualTo(String value) {
            addCriterion("prDescribe <>", value, "prdescribe");
            return (Criteria) this;
        }

        public Criteria andPrdescribeGreaterThan(String value) {
            addCriterion("prDescribe >", value, "prdescribe");
            return (Criteria) this;
        }

        public Criteria andPrdescribeGreaterThanOrEqualTo(String value) {
            addCriterion("prDescribe >=", value, "prdescribe");
            return (Criteria) this;
        }

        public Criteria andPrdescribeLessThan(String value) {
            addCriterion("prDescribe <", value, "prdescribe");
            return (Criteria) this;
        }

        public Criteria andPrdescribeLessThanOrEqualTo(String value) {
            addCriterion("prDescribe <=", value, "prdescribe");
            return (Criteria) this;
        }

        public Criteria andPrdescribeLike(String value) {
            addCriterion("prDescribe like", value, "prdescribe");
            return (Criteria) this;
        }

        public Criteria andPrdescribeNotLike(String value) {
            addCriterion("prDescribe not like", value, "prdescribe");
            return (Criteria) this;
        }

        public Criteria andPrdescribeIn(List<String> values) {
            addCriterion("prDescribe in", values, "prdescribe");
            return (Criteria) this;
        }

        public Criteria andPrdescribeNotIn(List<String> values) {
            addCriterion("prDescribe not in", values, "prdescribe");
            return (Criteria) this;
        }

        public Criteria andPrdescribeBetween(String value1, String value2) {
            addCriterion("prDescribe between", value1, value2, "prdescribe");
            return (Criteria) this;
        }

        public Criteria andPrdescribeNotBetween(String value1, String value2) {
            addCriterion("prDescribe not between", value1, value2, "prdescribe");
            return (Criteria) this;
        }

        public Criteria andPrstateIsNull() {
            addCriterion("prState is null");
            return (Criteria) this;
        }

        public Criteria andPrstateIsNotNull() {
            addCriterion("prState is not null");
            return (Criteria) this;
        }

        public Criteria andPrstateEqualTo(Integer value) {
            addCriterion("prState =", value, "prstate");
            return (Criteria) this;
        }

        public Criteria andPrstateNotEqualTo(Integer value) {
            addCriterion("prState <>", value, "prstate");
            return (Criteria) this;
        }

        public Criteria andPrstateGreaterThan(Integer value) {
            addCriterion("prState >", value, "prstate");
            return (Criteria) this;
        }

        public Criteria andPrstateGreaterThanOrEqualTo(Integer value) {
            addCriterion("prState >=", value, "prstate");
            return (Criteria) this;
        }

        public Criteria andPrstateLessThan(Integer value) {
            addCriterion("prState <", value, "prstate");
            return (Criteria) this;
        }

        public Criteria andPrstateLessThanOrEqualTo(Integer value) {
            addCriterion("prState <=", value, "prstate");
            return (Criteria) this;
        }

        public Criteria andPrstateIn(List<Integer> values) {
            addCriterion("prState in", values, "prstate");
            return (Criteria) this;
        }

        public Criteria andPrstateNotIn(List<Integer> values) {
            addCriterion("prState not in", values, "prstate");
            return (Criteria) this;
        }

        public Criteria andPrstateBetween(Integer value1, Integer value2) {
            addCriterion("prState between", value1, value2, "prstate");
            return (Criteria) this;
        }

        public Criteria andPrstateNotBetween(Integer value1, Integer value2) {
            addCriterion("prState not between", value1, value2, "prstate");
            return (Criteria) this;
        }

        public Criteria andPremailIsNull() {
            addCriterion("prEmail is null");
            return (Criteria) this;
        }

        public Criteria andPremailIsNotNull() {
            addCriterion("prEmail is not null");
            return (Criteria) this;
        }

        public Criteria andPremailEqualTo(String value) {
            addCriterion("prEmail =", value, "premail");
            return (Criteria) this;
        }

        public Criteria andPremailNotEqualTo(String value) {
            addCriterion("prEmail <>", value, "premail");
            return (Criteria) this;
        }

        public Criteria andPremailGreaterThan(String value) {
            addCriterion("prEmail >", value, "premail");
            return (Criteria) this;
        }

        public Criteria andPremailGreaterThanOrEqualTo(String value) {
            addCriterion("prEmail >=", value, "premail");
            return (Criteria) this;
        }

        public Criteria andPremailLessThan(String value) {
            addCriterion("prEmail <", value, "premail");
            return (Criteria) this;
        }

        public Criteria andPremailLessThanOrEqualTo(String value) {
            addCriterion("prEmail <=", value, "premail");
            return (Criteria) this;
        }

        public Criteria andPremailLike(String value) {
            addCriterion("prEmail like", value, "premail");
            return (Criteria) this;
        }

        public Criteria andPremailNotLike(String value) {
            addCriterion("prEmail not like", value, "premail");
            return (Criteria) this;
        }

        public Criteria andPremailIn(List<String> values) {
            addCriterion("prEmail in", values, "premail");
            return (Criteria) this;
        }

        public Criteria andPremailNotIn(List<String> values) {
            addCriterion("prEmail not in", values, "premail");
            return (Criteria) this;
        }

        public Criteria andPremailBetween(String value1, String value2) {
            addCriterion("prEmail between", value1, value2, "premail");
            return (Criteria) this;
        }

        public Criteria andPremailNotBetween(String value1, String value2) {
            addCriterion("prEmail not between", value1, value2, "premail");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}